package com.example.sprintboot.entity;

import lombok.Getter;

@Getter
public enum PaymentMethod {
    ALIPAY(1, "支付宝"),
    WECHAT(2, "微信支付"),
    BANK_CARD(3, "银行卡");

    private final int code;
    private final String desc;

    PaymentMethod(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}